import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import {resolve} from 'path'

// https://vitejs.dev/config/
export default defineConfig({
  server: {
    open: true,// 自动打开浏览器页面
  },
  resolve:{
    alias:{
      "@": resolve(__dirname,"src"),
      '@icons': resolve(__dirname, 'src/assets/images/icons'),
    }
  },
  plugins: [vue()],
})
